package com.flame.system.log.event;

import com.flame.system.log.entity.OperateLog;
import org.springframework.context.ApplicationEvent;

/**
 * HttpCompleteEvent
 *
 * @author wuxintong
 * @since 2023/2/27
 */
public class OperateCompeleteEvent extends ApplicationEvent {

    private String ip;

    private String userAgent;

    public OperateCompeleteEvent(OperateLog operateLog, String ip, String userAgent) {
        super(operateLog);
        this.ip = ip;
        this.userAgent = userAgent;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }
}
